package com.mall.feign.clients;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.Map;

@FeignClient("mall-ums")
public interface adminClient {

    @PostMapping("/login")
    public ResponseEntity login(@RequestBody Map map);
}
